package top.huntwolf.admin.pojo.wxPay;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.HashMap;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class WxPayRefundResult {

    @JSONField(name = "refund_id")
    private String refundId;

    @JSONField(name = "out_refund_no")
    private String outRefundNo;

    @JSONField(name = "transaction_id")
    private String transactionId;

    @JSONField(name = "out_trade_no")
    private String outTradeNo;

    @JSONField(name = "channel")
    private String channel;

    @JSONField(name = "user_received_account")
    private String userReceivedAccount;

    @JSONField(name = "success_time")
    private String successTime;

    @JSONField(name = "create_time")
    private String createTime;

    @JSONField(name = "status")
    private String status;

    @JSONField(name = "funds_account")
    private String fundsAccount;

    @JSONField(name = "amount")
    private HashMap<String,Object> amount;

    @JSONField(name = "promotion_detail")
    private List<HashMap<String,Object>> promotionDetail;

    @JsonIgnore
    private Integer storeId;
}
